package mybag1;

public class EmailGroup extends Email {
	private String groundName;

	public EmailGroup(String attachment, String subject, String content, String sender, String sendTime, String status,
			String groundName) {
		super(attachment, subject, content, sender, sendTime, status);
		this.groundName = groundName;
	}

	public String getGroundName() {
		return groundName;
	}

	public void setGroundName(String groundName) {
		this.groundName = groundName;
	}

	public void sendrn() {
		System.out.println("群发！");
		System.out.println("附件为" + this.getAttachment());
		System.out.println("主题为" + this.getSubject());
		System.out.println("内容为" + this.getContent());
		System.out.println("发件人为" + this.getSender());
		System.out.println("状态为" + this.getStatus());
		System.out.println("发送时间为" + this.getSendTime());
		System.out.println("收件人为" + this.getSender());
	}
}
